export const typeList = [
    {
        name: '字符串',
        value: 'string',
        children: [
            {
                name: '字符串',
                value: 'string()',
            },
            {
                name: '最小值',
                value: 'min()',
            },
            {
                name: '最大值',
                value: 'max()',
            },
            {
                name: '是否必须',
                value: 'required()',
            }
        ]
    },
    {
        name: '数字',
        value: 'number',
        children: [
            {
                name: '字符串',
                value: 'number()',
            },
            {
                name: '最小值',
                value: 'min()',
            },
            {
                name: '最大值',
                value: 'max()',
            },
            {
                name: '是否必须',
                value: 'required()',
            }
        ]
    },
    {
        name: '布尔值',
        value: 'boolean',
        children: [
            {
                name: '字符串',
                value: 'boolean()',
            },
            {
                name: '是否必须',
                value: 'required()',
            }
        ]
    }
]